html, body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    min-width: 320px;
    overflow: hidden;
    color: #333;
}

body {
    font: .28rem/1.5 "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0)
    //word-wrap: break-word;
}

a, a:hover, a:active {
    outline: none;
    text-decoration: none;
}

i, em {
    font-style: normal;
}

li {
    list-style: none;
}

.inline {
    display: inline;
}

.inline-block {
    display: inline-block;
}

.mt10 {
    margin-top: .1rem;
}

.mt20 {
    margin-top: .2rem;
}

.mt30 {
    margin-top: .3rem;
}

.mr10 {
    margin-right: .1rem;
}

.mr20 {
    margin-right: .2rem;
}

.ml10 {
    margin-left: .1rem;
}

.ml20 {
    margin-left: .2rem;
}

.white-block {
    background-color: #fff;
    padding: .3rem;
}

.error {
    color: #DA6959;
}

/* 页面切换动画 */
.slide-enter-active {
    -ms-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.slide-leave-active {
    -ms-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
}

.slide-enter, .slide-leave-active {
    -ms-transform: translate(100%);
    -moz-transform: translate(100%);
    -webkit-transform: translate(100%);
    transform: translate(100%);
    z-index: 155;
}

/* 父子路由页面 */
.settle-box {
    position: relative;
}

.settle-sub-box {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: #fff;
    overflow-y: auto;
    overflow-x: hidden;
}

.small {
    font-size: .14rem;
}

.mini {
    font-size: .12rem;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.clear {
    display: block;
}

.clearfix {
    &:after {
        content: '';
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
}

/* 最多两行 */
.two-single-line {
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.content {
    padding: .3rem;
}

input::-webkit-input-placeholder, textarea::-webkit-input-placeholder, .el-input__inner::-webkit-input-placeholder {
    color: #999;
}

input:-moz-placeholder, textarea:-moz-placeholder, .el-input__inner:-moz-placeholder {
    color: #999;
}

input::-moz-placeholder, textarea::-moz-placeholder, .el-input__inner::-moz-placeholder {
    color: #999;
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder, .el-input__inner:-ms-input-placeholder {
    color: #999;
}

.mint-loadmore-bottom span {
    display: inline-block;
    -webkit-transition: .2s linear;
    transition: .2s linear;
    vertical-align: middle;

    &.is-rotate {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }
}
